package com.itheima.sh.Homework03;
/*

/*
    目标：专门处理GirlFriend类相关的业务逻辑的
 */


public class GirlFriendOPen {
    private GirlFriend s;

    public void service(GirlFriend s) {
        this.s = s;
    }

    public void show() {
        System.out.println("强哥的女朋友叫:" + s.getName() + ",身高:" + s.getHeight() + ",体重是：" + s.getWeight());
    }

    public void wash() {
        System.out.println("DK女朋友帮强哥洗衣服");
    }

    public void cook() {
        System.out.println("DK女朋友帮强哥做饭");
    }
}
